package MySwing;

import javax.swing.Box;
import javax.swing.JPanel;


//laboratorio1up@gmail.com
public class JBottomBar extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public JButtonOK buttonOK;
	public JButtonCancel buttonCancel;
	Box buttonBox;

	public JBottomBar() {
		
		
		buttonOK = new JButtonOK();
		buttonCancel = new JButtonCancel();
		buttonBox = Box.createHorizontalBox();
		buttonBox.add(Box.createHorizontalGlue());
		buttonBox.add(buttonOK);
		buttonBox.add(buttonCancel);

		//Agrego listeners   
		buttonBox.add(buttonCancel);
		add(buttonBox);
	}


}
